<?php
// include.php file

function a() {
    b();
}

function b() {
    c();
}

function c(){
    //debug_print_backtrace(2,2);
    $trace = debug_backtrace(2,3);
    var_dump($trace);
}

a();